<?php
class SucculentFlowerportAppearanceInfoVo extends SzAbstractMySqlVo
{

    private $userId;
    private $appearanceId;
    private $vaseId;
    private $createTime;

    /**
     * Initialize SucculentFlowerportAppearanceInfoVo.
     *
     * @param $userId
     * @param $appearanceId
     * @param $vaseId
     * @param $createTime
     * @param boolean $isInsert default false, means for now this vo is initialized not for insert process
     * @return SucculentFlowerportAppearanceInfoVo
     */
    public function __construct($userId, $appearanceId, $vaseId, $createTime, $isInsert = false) {
        $this->userId = $userId;
        $this->appearanceId = $appearanceId;
        $this->vaseId = $vaseId;
        $this->createTime = $createTime;

        $this->isInsert = $isInsert;
        $this->voClassName = 'SucculentFlowerportAppearanceInfoVo';
        $this->ormName = 'SucculentFlowerportAppearanceInfo';
    }

    /**
     * @see SzAbstractVo::toArray
     */
    public function toArray($needEncode = false)
    {
        return array(
            'userId' => $this->getUserId(),
            'appearanceId' => $this->getAppearanceId(),
            'vaseId' => $this->getVaseId(),
            'createTime' => $this->getCreateTime(),
        );
    }

    /**
     * @see SzAbstractVo::toEntireArray
     */
    public function toEntireArray($needEncode = false)
    {
        return array(
            'userId' => $this->getUserId(),
            'appearanceId' => $this->getAppearanceId(),
            'vaseId' => $this->getVaseId(),
            'createTime' => $this->getCreateTime(),
        );
    }

    /**
     * @see SzAbstractVo::toPureArray
     */
    public function toPureArray()
    {
        return array(
            $this->getUserId(),
            $this->getAppearanceId(),
            $this->getVaseId(),
            $this->getCreateTime(),
        );
    }

    public function getUserId()
    {
        return $this->userId;
    }

    public function setUserId($val)
    {
        $this->saveColumnStatus(0, $this->userId);
        $this->userId = $val;
    }

    public function getAppearanceId()
    {
        return $this->appearanceId;
    }

    public function setAppearanceId($val)
    {
        $this->saveColumnStatus(1, $this->appearanceId);
        $this->appearanceId = $val;
    }

    public function getVaseId()
    {
        return $this->vaseId;
    }

    public function setVaseId($val)
    {
        $this->saveColumnStatus(2, $this->vaseId);
        $this->vaseId = $val;
    }

    public function getCreateTime()
    {
        return $this->createTime;
    }

    public function setCreateTime($val)
    {
        $this->saveColumnStatus(3, $this->createTime);
        $this->createTime = $val;
    }

}